package com.efast.cafe.portal.service.common;

import java.util.List;

import com.efast.cafe.portal.bean.common.ParameterResultBean;
import com.efast.cafe.portal.entity.base.PortalBaseParameter;
import com.efast.cafe.portal.remote.common.ParameterService;

/******************************************************************************
 * @File name : ParameterService.java
 * 
 * @Author : fxm
 * 
 * @Date : 2016-7-8
 * 
 * @Copyright Notice: Copyright (c) 2016 Efast Serv. All Rights Reserved. This
 *            software is published under the terms of the Efast Software
 *            License version 1.0, a copy of which has been included with this
 *            distribution in the LICENSE.txt file.
 * 
 *            ------------------------------------------------------------------
 *            ---------- Date Who Version Comments 2016-7-8 下午2:11:53 fxm 1.0
 *            Initial Version
 *****************************************************************************/
public interface IParameterService extends ParameterService{

	/**
	 * 获取参数
	 * @Date : 2016-7-8
	 * @param paramKey 参数key
	 * @param moduleName 模块名称
	 * @return
	 */
	public PortalBaseParameter getParameter(String paramKey, String moduleName);
	
	public PortalBaseParameter getParameter(String paramKey, String moduleName,String companyCode,String username);
	
	/**
	 * paramKey 和 moduleName 个数需一致
	 * @param paramKey
	 * @param moduleName
	 * @param companyCode
	 * @param username
	 * @return
	 */
	public List<ParameterResultBean> getParameters(String[] paramKey, String[] moduleName,String companyCode,String username);
	
	public List<ParameterResultBean> getParameters(String paramGroup,String companyCode,String username);
}
